html,body{
  margin: 0;
  height: 100%;
  background: #f3f3f3;
  //-ms-touch-action: none;
}
@b app{
  height: 100%;
  @e view{
    height: 100%;
    &.havePadding{
      padding-bottom: 50px;
    }
    .page-scroll{
      height: 100%;
    }
  }
}

@b tabbar{
  @e icon{
    display: block;
    margin-bottom: 5px;
  }
}
.tabbar{
  .tabbar__icon{
    font-size: 20px;
  }
}

.panel{
  padding: 10px;
  background: #fff;
  position: relative;
  &.transparent{
    background: none;
    &:before{
      content: '';
      display: block;
      height: 2px;
      width: 100%;
      position: absolute;
      left: 0;
      top: -1px;
      background-image: none
    }
    &:after{
      content: '';
      display: block;
      height: 2px;
      width: 100%;
      position: absolute;
      left: 0;
      bottom: 0px;
      background-image: none
    }
  }
}

.mint-header{
  background: #fff;
  color: #26a2ff;
  background-image: linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: bottom;
  .mint-header-title{
    font-family: 'pmzd';
    font-size: 18px;
    color: #222;
  }
  &.transparent{
    background: none;
    border: none;
    box-shadow: none;
    color: #26a2ff;
  }
}

@for $i from 1 to 9 {
  .mt$(i)0 { margin-top: $(i)0px; }
  .mb$(i)0 { margin-bottom: $(i)0px; }
  .ml$(i)0 { margin-left: $(i)0px; }
  .mr$(i)0 { margin-right: $(i)0px; }
  .pt$(i)0 { padding-top: $(i)0px; }
  .pb$(i)0 { padding-bottom: $(i)0px; }
  .pl$(i)0 { padding-left: $(i)0px; }
  .pr$(i)0 { padding-right: $(i)0px; }
}

.iconfont.iconfont--huge{
  font-size: 40px;
}

.mint-cell-wrapper{
  font-size: 14px;
}

a{
  text-decoration: none;
}

.contentFix{
  padding-top: 40px;
}
.contentFix-bottom{
  padding-bottom: 50px;
}

.mint-loadmore {
  min-height: 100%;
}
.mint-loadmore-content {
  min-height: 100%;
}

.iscroll-wrapper{
  overflow: hidden;
  height: 100%;
  //width: 100%;
  //height: 200px;
  //position: absolute;
  //z-index: 10;
  >div{
    width: 100%;
    border-top:1px solid transparent;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-touch-callout: none;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
    -o-text-size-adjust: none;
    text-size-adjust: none;
    position: relative;
    //z-index: 1;
    .iscroll-down-box{
      display: block;
      width: 100%;
      position: absolute;
      text-align: center;
      top:-20px;
      color: #999;
      font-size: 14px;
      transition: top 0.5s;
      &.loading{
        top:10px;
        color: transparent;
        &:after{
          content: '\e607';
          display: block;
          margin: auto;
          text-align: center;
          font-size: 18px;
          height: 30px;
          line-height: 30px;
          width: 30px;
          background: #fff;
          color: #26a2ff;
          border-radius: 50%;
          box-shadow: 0 0 5px rgba(0,0,0,0.5);
          animation: rotate 1s infinite linear;
        }
      }
      &.finish{
        top:10px;
        color: transparent;
        &:after{
          content: '\e600';
          display: block;
          margin: auto;
          text-align: center;
          font-size: 16px;
          height: 30px;
          line-height: 30px;
          width: 30px;
          background: #fff;
          color: #26a2ff;
          border-radius: 50%;
          box-shadow: 0 0 5px rgba(0,0,0,0.5);
        }
        &.finish-out{
          top:-40px;
        }
      }
    }
    .iscroll-up-box{
      display: block;
      width: 100%;
      height: 40px;
      line-height: 40px;
      //position: absolute;
      text-align: center;
      //bottom:-20px;
      color: #999;
      font-size: 14px;
    }
    border-bottom: 1px solid transparent;
  }
}

@keyframes rotate{
  0%{
    transform:rotate(0deg);
  }
  100%{
    transform:rotate(360deg);
  }
}

.xgd-tabs{
  position: relative;
  &:before{
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    top: -1px;
    background-image: linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: top;
  }
  .mint-cell{
    color: #777;
    position: relative;
    &:after{
      content: '';
      display: block;
      height: 2px;
      width: 100%;
      position: absolute;
      left: 0;
      bottom: 0px;
      background-image: linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
      background-size: 100% 1px;
      background-repeat: no-repeat;
      background-position: bottom;
    }
    &:last-child{
      background-image: none;
    }
    &:first-child{
      background-image: none;
    }
    .mint-cell-wrapper{
      background-image: none;
      font-size: 16px;
      .mint-cell-title{
        *{
          vertical-align: middle;
        }
      }
      .mint-cell-value{
        font-size: 14px;
        color: #999;
      }
    }
    .iconfont{
      &.is-logo{
        display: inline-block;
        font-size: 22px;
        margin-right: 10px;
      }
      &.icon-right{
        font-size: 14px;
        margin-left: 10px;
      }
    }
  }
  .xgd-cell-link{
    .mint-cell{
      background-image: linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
      background-size: 100% 1px;
      background-repeat: no-repeat;
      background-position: bottom;
    }
  }
}

.xgd-title-box{
  font-size: 16px;
  padding-left: 10px;
  margin: 10px 0;
  small{
    color: #ff7500;
  }
}

.xgd-primary{
  color: #26a2ff;
}

.full-height{
  height: 100%;
}

.xgd-box-border{
  position: relative;
  &:before{
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: linear-gradient(180deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: top;
  }
  &:after{
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: bottom;
  }
}
.xgd-border-bottom{
  position: relative;
  &:after{
    content: '';
    display: block;
    height: 2px;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(0deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: bottom;
  }
}
.xgd-border-top{
  position: relative;
  &:before{
    content: '';
    display: block;
    height: 1px;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-image: linear-gradient(180deg, #d9d9d9, #d9d9d9 50%, transparent 50%);
    background-size: 100% 1px;
    background-repeat: no-repeat;
    background-position: top;
  }
}



@b xgd-popup{
  width: 100%;
  padding-bottom: 10px;
  .mint-popup-bottom{
    width: 100%;
  }
  @e btn{
    margin-bottom: 20px;
    >span{
      padding: 10px;
      color: #444;
    }
  }
  .picker-selected{
    color: #26a2ff;
  }
  .picker--single{
    .picker-center-highlight{
      width: 140px;
      left:50%;
      transform: translate(-50%,0);
    }
  }
  .picker--address{
    .picker-item{
      font-size: 14px;
    }
  }
  .picker-slot{
    //&:before{
    //  content: '';
    //  display: block;
    //  position: absolute;
    //  background: linear-gradient(rgba(255,255,255,1),rgba(255,255,255,0));
    //  z-index: 10;
    //  width: 100%;
    //  height: 60px;
    //  pointer-events:none
    //}
    //&:after{
    //  content: '';
    //  display: block;
    //  position: absolute;
    //  bottom:0;
    //  background: linear-gradient(rgba(255,255,255,0),rgba(255,255,255,1));
    //  z-index: 10;
    //  width: 100%;
    //  height: 60px;
    //  pointer-events:none
    //}
  }
}

.xgd-upload{
  input{
    display: none;
  }
}

@b xgd-noData{
  width: 100%;
  margin: 20px 0;
  >span{
    display: block;
    text-align: center;
    color: #ccc;
  }
  @e icon{
    margin-bottom: 10px;
    .iconfont{
      font-size: 150px;
    }
  }
}

.mint-checkbox-core::after {
  border: 2px solid transparent;
  border-left: 0;
  border-top: 0;
  content: " ";
  top: 3px;
  left: 6px;
  position: absolute;
  width: 6px;
  height: 10px;
  -webkit-transform: rotate(45deg) scale(0);
  transform: rotate(45deg) scale(0);
  -webkit-transition: -webkit-transform .2s;
  transition: -webkit-transform .2s;
  transition: transform .2s;
  transition: transform .2s, -webkit-transform .2s;
}

.xgd-single-check{
  padding: 0 10px;
  font-size: 14px;
  display: inline-block;
  >*{
    vertical-align: middle;
  }
  input{
    display: none;
    &:checked+span{
      background: #26a2ff;
      border: 1px solid #26a2ff;
      &:after{
        border-color: #fff;
        transform: rotate(45deg) scale(1);
      }
    }
  }
  >span.xgd-single-checkLabel{
    display: inline-block;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ccc;
    position: relative;
    &:after{
      border: 2px solid transparent;
      border-left: 0;
      border-top: 0;
      content: " ";
      top: 2px;
      left: 5px;
      position: absolute;
      width: 6px;
      height: 10px;
      transform: rotate(45deg) scale(0);
      transition: transform .2s;
    }
  }
  a{
    color: #26a2ff;
  }
}

@b xgd-btn{
  @m single{
    font-size: 14px;
    color: #26a2ff;
    >*{
      vertical-align: text-bottom;
    }
    i{
      margin-right: 5px;
    }
  }
}

@b xgd-bankCard{
  padding: 10px;
  margin: 10px 15px;
  height: 150px;
  background: #36d1dc;
  background: linear-gradient(120deg, #36d1dc, #5b86e5);
  color: #fff;
  border-radius: 6px;
  position: relative;
  @e bank{
    >span{
      vertical-align: middle;
    }
  }
  @e logo{
    display: inline-block;
    height: 40px;
    line-height: 40px;
    width: 40px;
    margin-right: 10px;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    i{
      color: #3bc7dd;
      font-size: 24px;
    }
  }
  @e name{
    display: inline-block;
    font-size: 16px;
  }
  @e code{
    font-family: 'bankFont';
    font-size: 18px;
    text-align: center;
    position: absolute;
    width: 100%;
    top: 50%;
    left:0;
    right:0;
    transform: translate(0,-50%);
    letter-spacing:4px;
    >span{
      margin-right: 10px;
      &:last-child{
        margin-right: 0;
      }
    }
  }
  @e btn{
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 14px;
    padding: 5px;
  }
}

@font-face {
  font-family: 'pmzd';
  src: url('../../assets/font/txjlxyj.ttf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'bankFont';
  src: url('../../assets/font/bank.ttf');
  font-weight: normal;
  font-style: normal;
}

.xgd-radius-border{
  position: relative;
}
@media screen and (-webkit-min-device-pixel-ratio: 2){
  .xgd-radius-border:before{
    content: "";
    pointer-events: none; /* 防止点击触发 */
    box-sizing: border-box;
    position: absolute;
    width: 200%;
    height: 200%;
    left: 0;
    top: 0;
    //border-radius: 8px;
    border:1px solid #d9d9d9;
    -webkit-transform-origin: 0 0;
    transform:scale(0.5);
    transform-origin: 0 0;
  }
}